package com.hl.wechat.demo.service;

import com.hl.wechat.demo.entity.User;
import com.hl.wechat.demo.entity.WxLogin;

import java.util.List;

public interface UserService {

    public void addUser(User user);

    public User getUserById(String id);

    public User changeUserInfo(User user);

    public List<User> listUser();

    public WxLogin wxLogin(String jsCode);

    public boolean isOnline(String openId);
}
